package com.jeomo.mem.starter.entity;

import com.jeomo.base.starter.entity.BaseEntity;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 会员等级执行单
 * </p>
 * @author Jackpot
 * @since 2021-1-14
 */

public class MemberLevelExe extends BaseEntity {

    /** 会员卡号 */
    private String cardNo;
    /** 会员等级 */
    private String levelCode;
    /** 开始时间 */
    private LocalDateTime startTime;
    /** 结束时间 */
    private LocalDate endTime;
    /** 累计获得积分 */
    private Integer totalPoints;
    /** 累计消费金额 */
    private Double totalAmount;
    /** 是否评级(到期后评级) */
    private Boolean isRating;
    /** 来源类型 */
    private int srcType;

    public int getSrcType() {
        return srcType;
    }

    public void setSrcType(int srcType) {
        this.srcType = srcType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getLevelCode() {
        return levelCode;
    }

    public void setLevelCode(String levelCode) {
        this.levelCode = levelCode;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDate getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDate endTime) {
        this.endTime = endTime;
    }

    public Integer getTotalPoints() {
        return totalPoints;
    }

    public void setTotalPoints(Integer totalPoints) {
        this.totalPoints = totalPoints;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Boolean getRating() {
        return isRating;
    }

    public void setRating(Boolean rating) {
        isRating = rating;
    }
}
